<!DOCTYPE html>
<html>
<head>
    <title>豆瓣电影</title>
</head>
<body>
    <h1>热门电影</h1>
    <ul>
        {% for movie in movies %}
        <li>
            <a href="{{ movie.link }}">{{ movie.title }}</a>
        </li>
        {% endfor %}
    </ul>
</body>
</html>